package com.hyjoy.dao;

import com.hyjoy.entity.User;

/**
 * Created by hyjoy on 2018/4/4.
 */
public interface UserDao {
    void save(User user) throws Exception;

    User getByCode(String code) throws Exception;

    void update(User user) throws Exception;

    User getByUsernameAndPwd(String username, String password) throws Exception;
}
